﻿<navigation:Page x:Class="AstekServis.Views.Home"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:menu="clr-namespace:DevExpress.AgMenu;assembly=DevExpress.AgMenu.v10.1"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" 
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Width="1024" Height="800" xmlns:dxmnu="http://schemas.devexpress.com/winfx/2008/xaml/agmenu" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/datagrid" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="27" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="27"/>
            <RowDefinition Height="13"/>
            <RowDefinition Height="600*"/>
        </Grid.RowDefinitions>
        <Canvas Margin="2,1,2,0" Height="25" Width="1020" Grid.ColumnSpan="3">
            <menu:AgMenu x:Name="menu1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0">
                <menu:AgMenuItem Header="Ana Sayfa" Click="AnaSayfa_Click" />
                <menu:AgMenuItem Header="Araç İşlemleri">
                    <menu:AgMenuItem Header="Araç Listesi" Click="AracListesi_Click"/>
                    <menu:AgMenuItem Header="Yeni Montaj" Click="YeniMontajListesi_Click"/>
                    <menu:AgMenuItem Header="Montaj Listesi" Click="MontajListesi_Click" />
                </menu:AgMenuItem>
                <menu:AgMenuItem Header="Servis İşlemleri">
                    <menu:AgMenuItem Header="Yeni Servis" Click="YeniServis_Click" />
                    <menu:AgMenuItem Header="Servis Listesi" Click="ServisListesi_Click" />
                </menu:AgMenuItem>
                <menu:AgMenuItem x:Name="mnRapor" Header="Raporlar">
                    <menu:AgMenuItem Header="Modem Durumları" Click="ModemDurumlari_Click" />
                </menu:AgMenuItem>
                <menu:AgMenuItem x:Name="mnYonetim" Header="Yönetim">
                    <menu:AgMenuItem Header="Kullanıcı Tanıtım" Click="KullaniciTanitim_Click" />
                    <menu:AgMenuItem Header="Servis Merkezleri Tanıtım" Click="ServisMerkezi_Click" />
                    <menu:AgMenuItem Header="Araç Markalari Tanıtım" Click="AracMarkalari_Click" />
                    <menu:AgMenuItem Header="Servis Sorunlari Tanıtım" Click="ServisSorunlari_Click" />
                    <menu:AgMenuItem Header="Teknisyen Tanıtım" Click="Teknisyen_Click" />
                    <menu:AgMenuItem Header="Araç Ek Özellik Tanıtım" Click="OzellikTanim_Click"  />
                    <menu:AgMenuItem Header="Sistem Tanıtım" Click="SistemTanimlari_Click"  />
                    <menu:AgMenuItem Header="Firmware Tanıtım" Click="Firmware_Click"   />
                    <menu:AgMenuItem Header="Servis Kontrol Tanımları" Click="KontrolTanim_Click"   />
                    <menu:AgMenuItem Header="Film Tanımları" Click="FilmTanim_Click"   />
                    <menu:AgMenuItem Header="Kapama Sebepleri" Click="KapamaSebep_Click"   />
                    <menu:AgMenuItem Header="Parça Paket Tanıtım" Click="ParcaPaket_Click"   />
                    <menu:AgMenuItem Header="Parametreler" Click="Parametre_Click"   />
                    <menu:AgMenuItem Header="Hizmet Kartı Tanıtım" Click="HizmetKarti_Click"   />
                    <menu:AgMenuItem Header="Rapor Oluşturma" Click="RaporTasarla_Click"   />
                    <menu:AgMenuItem Header="Form Tasarımı" Click="AgMenuItem_Click"   />
                    <menu:AgMenuItem Header="Sözleşmeler">
                        <menu:AgMenuItem Header="Garanti Sözleşmesi" Click="GarantiSozlesmeleri_Click"/>
                        <menu:AgMenuItem Header="Film Sözleşmeleri" Click="FilmSozlesmeleri_Click" />
                    </menu:AgMenuItem>
                </menu:AgMenuItem>
            </menu:AgMenu>
        </Canvas>

        <dxmnu:AgPopupMenu Grid.Row="2" Height="150" HorizontalAlignment="Left" Margin="0,0,0,0" Name="agPopupMenu1" VerticalAlignment="Top" Width="200" >
        </dxmnu:AgPopupMenu>
        <StackPanel Grid.Row="2" Height="Auto" HorizontalAlignment="Stretch" Margin="0" Name="stackPanel1" VerticalAlignment="Stretch" Width="Auto" Orientation="Vertical">
            <Border BorderBrush="Silver" BorderThickness="1" Height="30" Name="border1" Width="Auto" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" Padding="0" CornerRadius="7" Margin="0,2">
                <Border.Background>
                    <LinearGradientBrush EndPoint="1,13" StartPoint="0,0">
                        <LinearGradientBrush.RelativeTransform>
                            <CompositeTransform CenterY="0.5" CenterX="0.5" ScaleX="-1"/>
                        </LinearGradientBrush.RelativeTransform>
                        <GradientStop Color="#FFF8F8F8"/>
                        <GradientStop Color="#FFA9AEBE" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
                <TextBlock HorizontalAlignment="Left" Margin="4,4,0,4" TextWrapping="Wrap" Text="Açık Montajlar" FontWeight="Bold" FontSize="13.333" Name="lblHeader1" />
            </Border>
            <dxg:AgDataGrid x:Name="GridControl1" ChangeOddRowsAppearance="True"  ColumnsAutoWidth="True" ShowAutoFilterRow="True" AllowColumnFiltering="True" AllowEditing="False" ActiveFilterEnabled="True"  Grid.Row="2" HorizontalAlignment="Stretch" Margin="2,0,0,2" VerticalAlignment="Stretch" Width="Auto" IsColumnMenuEnabled="False" IsFooterMenuEnabled="False" IsColumnMenuFrozenItemsEnabled="False" Height="200" />
            <Border BorderBrush="Silver" BorderThickness="1" Height="30" Name="border2" Width="Auto" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" Padding="0" CornerRadius="7" Margin="0,2">
                <Border.Background>
                    <LinearGradientBrush EndPoint="1,13" StartPoint="0,0">
                        <LinearGradientBrush.RelativeTransform>
                            <CompositeTransform CenterY="0.5" CenterX="0.5" ScaleX="-1"/>
                        </LinearGradientBrush.RelativeTransform>
                        <GradientStop Color="#FFF8F8F8"/>
                        <GradientStop Color="#FFA9AEBE" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
                <TextBlock HorizontalAlignment="Left" Margin="4,4,0,4" TextWrapping="Wrap" Text="Açık Servisler" FontWeight="Bold" FontSize="13.333" Name="lblHeader2" />
            </Border>
            <dxg:AgDataGrid x:Name="GridControl2" ChangeOddRowsAppearance="True" ColumnsAutoWidth="True" ShowAutoFilterRow="True" AllowColumnFiltering="True" AllowEditing="False" ActiveFilterEnabled="True"  Grid.Row="2" HorizontalAlignment="Stretch" Margin="2,0,0,2" VerticalAlignment="Stretch" Width="Auto" IsColumnMenuEnabled="False" IsFooterMenuEnabled="False" IsColumnMenuFrozenItemsEnabled="False" Height="200" >
            </dxg:AgDataGrid>
        </StackPanel>
    </Grid>
</navigation:Page>
